package com.whmall.service.crm.module.customerpool.dao;

import com.whmall.service.crm.module.customerpool.entity.CustomerPoolFollowDO;
import com.whmall.service.crm.module.customerpool.entity.qo.CustomerPoolFollowQO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomerPoolFollowMapper {
    int deleteById(Long id);

    int insert(CustomerPoolFollowDO record);

    int insertSelective(CustomerPoolFollowDO record);

    CustomerPoolFollowDO selectById(Long id);

    List<CustomerPoolFollowDO> selectBy(CustomerPoolFollowQO qo);

    Long selectCountBy(CustomerPoolFollowQO qo);

    int updateByIdSelective(CustomerPoolFollowDO record);

    int updateById(CustomerPoolFollowDO record);
}